// arg0 - event object
// arg1 - type
// arg2 - name
// arg3 - description
var action, list;
eventobj = argument0;
action = instance_create(0, 0, Action);
action.parent = eventobj;
action.type = argument1;
action.name = argument2;
action.description = argument3;
ds_list_add(eventobj.actions, action);
return action;
